<?php
/**
 * @page facebook_connect Facebook Connect
 * 
 * Facebook connect saves hassle for you website visitors by authenticating/registering themselves
 * using their facebook account. Great tool to increase registration rate.
 * 
 * @section setting_facebook_connect Setting up Facebook connect
 * 
 * First of all you will need to enter the license for Facebook plugin at Backend > Settings > Licenses
 * 
 * Then, You will need some credentials from facebook.com in order to use this: Application ID, API key 
 * and Secret key. These details can be obtained by registering your application (website) on this
 * URL: http://www.facebook.com/developers/apps.php
 * 
 * Once you enable this module, you should see a facebook connect button at @ref user_login_box_module
 * like this:
 * 
 * @image html facebook_connect.jpg
 * 
 * @section facebook_fields_mapping Connecting custom fields to Facebook
 * 
 * There's another great feature we offer which lets you connect your custom fields for users to
 * facebook fields. Lets say I have a field 'avatar' (image type) for users, I can simply connect
 * it to use facebook field 'picture' so system will fetch 'picture' automatically of registering 
 * user from facebook, and this field will go on 'avatar'. Similarly, you can connect various 
 * other fields which facebook offer.
 * 
 * This can be configured from Backend > Settings > Facebook Fields
 * 
 * @image html facebook_config.jpg
 * 
 */
//Configure::write('cmsConfig.Sociable.facebook_key',null);
//Configure::write('cmsConfig.Sociable.linkedin_consumerKey','');
//Configure::write('cmsConfig.Sociable.linkedin_consumerSecret','');
//if facebook should not get initialized by self.
Configure::write("Facebook.noSelfInit",false);
//javascript function name to called for on init
Configure::write("Facebook.onInitFn",null);
Configure::write("Facebook.enabled",true);
Configure::write("Twitter.enabled",false);
Configure::write("Linkedin.enabled",false);
Configure::write("Facebook.Model","Users.User");
Configure::write("Facebook.directRegister",false);
Configure::write("Facebook.registerGroup","fbRegister");
Configure::write("Facebook.loginUrl",null);
?>